package com.interagriculture.service;

import com.interagriculture.common.PageResult;
import com.interagriculture.entity.Honor;
import org.springframework.stereotype.Service;

@Service
public interface HonorService {
    /**
     * 分页获取荣誉奖项,并且分页展示
     */
    PageResult getHonors(Honor honor,Integer pageNum,Integer pageSize);

    /**
     * 荣誉的增与改
     * @param honor
     */
    void saveOrUpdateInfo(Honor honor);

    /**
     * 荣誉信息的删除
     * @param id
     */
    void delete(Integer id);
}
